package config

import (
	"github.com/zeromicro/go-zero/rest"
	"github.com/zeromicro/go-zero/zrpc"
	"time"
)

type Config struct {
	rest.RestConf
	Auth struct {
		AccessSecret string
		AccessExpire time.Duration
	}
	UserRPC      zrpc.RpcClientConf
	FriendRPC    zrpc.RpcClientConf
	GroupRPC     zrpc.RpcClientConf
	MessageRPC   zrpc.RpcClientConf
	KqPusherConf struct {
		Brokers []string
		Topic   string
	}
}
